<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
<%@ include file="/WEB-INF/jsp/common/taglibs.jsp"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
	<head>
		<link rel="stylesheet"
			href="${ctx}/res/js/thirdParty/zTree_v3/css/zTreeStyle/zTreeStyle.css"
			type="text/css">
		
		<script type="text/javascript"
			src="${ctx}/res/js/thirdParty/zTree_v3/js/jquery.ztree.core-3.5.js"></script>
		
		<script type="text/javascript" 
            src="${ctx}/res/js/thirdParty/zTree_v3/js/jquery.ztree.excheck-3.5.js"></script>
		
		<script type="text/javascript"
			src="${ctx}/res/js/survey/surveyManagement/surveyReleaseDepart.js"></script>
		
		<style type="text/css">
			.divToolbar {
				line-height: 30px;
				text-align: left;
				width: 250px;
				height: 400px;
				margin-top: 30px;
				margin-bottom: 5px;
				overflow: auto;
			}
			
			.divButton {
				margin: 0 2px 0 2px;
				padding: 1px 1px 1px 1px;
				min-width: 65px;
			}
			
			.chooseGroup {
				line-height: 25px;
				margin-bottom: 2px;
				cursor: pointer;
				font-size: 17px;
				background-color: #2daeda;
				line-height: 30px;
				padding-left: 5px; 
			}
		</style>
	</head>
	
	<body>
		<table>
			<tr>
				<td style="vertical-align: top;">
					<div class="list_toolbar divToolbar">
						<div class="zTreeDemoBackground left">
							<ul id="departmentTree" class="ztree"></ul>
						</div>
					</div>
				</td>
	
				<td style="vertical-align: top;">
					<table id="userListTable">
					
						<!-- 按钮操作区域 -->
						<tr>
							<td>
								<div class="list_toolbar">
									<div class="toolButton" onclick="submittUser()" >提交
										<input id="create_user" type="hidden" value="<%=session.getAttribute("SESSION_USERNAME") %>">
									</div>
								</div>
							</td>
						</tr>
	
						<!-- 表头区域-->
						<tr>
							<td>
								<table class="list_grid">
									<thead>
										<tr>
										    <th>IS_JOIN</th>
											<th>USERNAME</th>
											<th>CN_NAME</th>
											<th>DEPT_NAME</th>
											<th style="width: 1px;"></th>
										</tr>
									</thead>
								</table>
							</td>
						</tr>
	
						<!-- 数据区域 -->
						<tr>
							<td>
								<div class="list_scrollControlDiv" style="height: 270px;">
									<table class="list_grid" style="border-spacing: 0;">
										<tbody id="tBodyList" class="userItem">
										</tbody>
									</table>
								</div>
							</td>
						</tr>
	
						<!-- 分页控件区域 -->
						<tr>
							<td>
								<div id="pagination" class="pagination"></div>
							</td>
						</tr>
					</table>
				</td>
			</tr>
		</table>
	</body>
</html>